package com.xuan.enums;

import lombok.Getter;

@Getter
public enum UserRoleEnum {
    //  1:超管 2:普通用户 3:管理员
    SUPER_ADMIN(1, "super_admin"),
    USER(2, "user"),
    ADMIN(3, "admin");
    private Integer code;
    private String message;
    UserRoleEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
